package cn.tedu.beans;

import org.springframework.stereotype.Component;

@Component //组件，Spring 启动时候， 通过组件扫描找到@Component 创建对象
public class DemoBean {
    @Override
    public String toString() {
        return "Hello World!";
    }
}
